package engine.services;

import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;

public interface IHttpConnectionService {

	public HttpURLConnection openConnection(String urlStr) throws Exception;

	public void closeConnection(HttpURLConnection conn) throws IOException;

	public String getUrlContentString(HttpURLConnection conn) throws Exception;

	public InputStream getURLContentForStream(String urlStr)
			throws Exception;

}